server: buffer.o server.c
	gcc buffer.o server.c -o server -pthread

client: buffer.o client.c
	gcc buffer.o client.c -o client -pthread

buffer.o: buffer.c buffer.h
	gcc -c buffer.c buffer.h
clean:
	rm *.o client server *.gch
